package top.yxf.mcp.server.juejing.type.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 掘金API属性配置类
 */
@ConfigurationProperties(prefix = "juejin.api")
@Component
public class JueJinApiProperties {

    /**
     * 掘金Cookie信息
     */
    private String cookie;

    /**
     * 掘金分类ID
     */
    private String categoryId;

    /**
     * 掘金标签ID
     */
    private List<String> tagIds;

    public String getCookie() {
        return cookie;
    }

    public void setCookie(String cookie) {
        this.cookie = cookie;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public List<String> getTagIds() {
        return tagIds;
    }

    public void setTagIds(List<String> tagIds) {
        this.tagIds = tagIds;
    }
}
